<div class="prev">	
    {% if pager.prev %}
	      <a href="?page=1">最前</a>
		  {% for i in pager.lead %}
		  <a href="?page={{i}}">{{i}}</a>
		  {% endfor %}
		  <a href="?page={{ pager.prev}}">&laquo; 上一页</a>
	 {% else %} 
	    &nbsp;  
	 {% endif %}
</div>
{%if pager.page_count %}
<div class="current">当前第{{pager.page_index}}页,共{{pager.page_count}}页</div>
{% endif %}
<div class="next">
	{% if pager.next %}
		    <a href="?page={{ pager.next }}">下一页 &raquo;</a>
			{% for i in pager.follow %}
		    <a href="?page={{i}}">{{i}}</a>
			{% endfor %}
			<a href="?page={{pager.last}}">最后</a>
	{% endif %}
</div>